package com.neiru.pruebas.ar.figure;

public class Sphere extends Mesh{
	public Sphere() {
		double verticesDouble[] = {  -2.227633,0.317880,0.751683
									,-2.358846,0.006610,0.751683
									,-2.358846,0.006610,0.351683
									,-2.227633,0.317880,0.351683
									,-2.358846,-0.393390,0.751683
									,-2.358846,-0.393390,0.351683
									,-2.227633,-0.704660,0.751683
									,-2.227633,-0.704660,0.351683
									,-2.227633,-0.393390,1.062953
									,-2.188111,-0.393390,1.151684
									,-2.002327,-0.793390,1.151684
									,-2.188111,-0.793390,0.751683
									,-2.227633,0.006610,1.062953
									,-2.188111,0.006610,1.151684
									,-2.188111,0.406610,0.751683
									,-2.002327,0.406610,1.151684
									,-1.827633,0.581304,1.151684
									,-1.827633,0.767088,0.751683
									,-2.188111,0.406610,0.351683
									,-1.827633,0.767088,0.351683
									,-2.002327,0.406610,-0.048317
									,-1.827633,0.581304,-0.048317
									,-2.227633,0.006610,0.040414
									,-2.188111,0.006610,-0.048317
									,-2.227633,-0.393390,0.040414
									,-2.188111,-0.393390,-0.048317
									,-2.188111,-0.793390,0.351683
									,-2.002327,-0.793390,-0.048317
									,-1.827633,-1.153867,0.351683
									,-1.827633,-0.968084,-0.048317
									,-1.827633,-0.793390,-0.223010
									,-1.427633,-1.153867,-0.048317
									,-1.427633,-0.793390,-0.408794
									,-1.027633,-1.153867,-0.048317
									,-1.027633,-0.793390,-0.408794
									,-1.427633,-1.193390,0.040414
									,-1.027633,-1.193390,0.040414
									,-0.716363,-1.193390,0.351683
									,-0.627633,-1.153867,0.351683
									,-0.627633,-0.968084,-0.048317
									,-0.627633,-1.153867,0.751683
									,-0.716363,-1.193390,0.751683
									,-1.027633,-1.153867,1.151684
									,-0.627633,-0.968084,1.151684
									,-1.027633,-1.193390,1.062953
									,-1.027633,-0.793390,1.512161
									,-0.627633,-0.793390,1.326377
									,-1.027633,-0.704660,1.551683
									,-0.716363,-0.393390,1.551683
									,-0.627633,-0.393390,1.512161
									,-0.716363,0.006610,1.551683
									,-0.627633,0.006610,1.512161
									,-1.027633,0.317880,1.551683
									,-1.027633,0.406610,1.512161
									,-0.627633,0.406610,1.326377
									,-1.027633,0.767088,1.151684
									,-0.627633,0.581304,1.151684
									,-0.452940,0.406610,1.151684
									,-1.427633,0.767088,1.151684
									,-1.427633,0.406610,1.512161
									,-1.827633,0.406610,1.326377
									,-1.827633,0.006610,1.512161
									,-1.427633,0.317880,1.551683
									,-1.738903,0.006610,1.551683
									,-1.827633,-0.393390,1.512161
									,-1.738903,-0.393390,1.551683
									,-1.827633,-0.793390,1.326377
									,-1.427633,-0.704660,1.551683
									,-1.427633,-0.793390,1.512161
									,-1.827633,-0.968084,1.151684
									,-1.427633,-1.153867,1.151684
									,-1.427633,-1.193390,1.062953
									,-1.738903,-1.193390,0.751683
									,-1.827633,-1.153867,0.751683
									,-1.427633,-1.324602,0.751683
									,-1.427633,-1.324602,0.351683
									,-1.738903,-1.193390,0.351683
									,-1.027633,-1.324602,0.751683
									,-1.027633,-1.324602,0.351683
									,-1.427633,-0.393390,1.682896
									,-1.027633,-0.393390,1.682896
									,-1.427633,0.006610,1.682896
									,-1.027633,0.006610,1.682896
									,-0.267156,0.006610,1.151684
									,-0.267156,-0.393390,1.151684
									,-0.452940,-0.793390,1.151684
									,-0.267156,-0.793390,0.751683
									,-0.267156,-0.793390,0.351683
									,-0.452940,-0.793390,-0.048317
									,-0.627633,-0.793390,-0.223010
									,-1.827633,-0.393390,-0.408794
									,-1.827633,0.006610,-0.408794
									,-1.827633,0.406610,-0.223010
									,-1.427633,0.937822,0.751683
									,-1.427633,0.937822,0.351683
									,-1.027633,0.937822,0.351683
									,-1.027633,0.937822,0.751683
									,-1.427633,0.806610,0.040414
									,-1.027633,0.806610,0.040414
									,-0.716363,0.806610,0.351683
									,-1.738903,0.806610,0.351683
									,-0.716363,0.806610,0.751683
									,-1.027633,0.806610,1.062953
									,-1.427633,0.806610,1.062953
									,-1.738903,0.806610,0.751683
									,-1.427633,-0.393390,-0.579529
									,-1.027633,-0.393390,-0.579529
									,-1.027633,0.006610,-0.579529
									,-1.427633,0.006610,-0.579529
									,-1.427633,0.317880,-0.448317
									,-1.027633,0.317880,-0.448317
									,-0.716363,0.006610,-0.448317
									,-1.738903,0.006610,-0.448317
									,-0.716363,-0.393390,-0.448317
									,-1.027633,-0.704660,-0.448317
									,-1.427633,-0.704660,-0.448317
									,-1.738903,-0.393390,-0.448317
									,-1.427633,0.767088,-0.048317
									,-1.427633,0.406610,-0.408794
									,-1.027633,0.406610,-0.408794
									,-1.027633,0.767088,-0.048317
									,-0.096421,-0.393390,0.751683
									,-0.096421,0.006610,0.751683
									,-0.096421,0.006610,0.351683
									,-0.096421,-0.393390,0.351683
									,-0.227633,0.317880,0.751683
									,-0.227633,0.317880,0.351683
									,-0.227633,0.006610,0.040414
									,-0.227633,0.006610,1.062953
									,-0.227633,-0.393390,0.040414
									,-0.227633,-0.704660,0.351683
									,-0.227633,-0.704660,0.751683
									,-0.227633,-0.393390,1.062953
									,-0.627633,0.767088,0.751683
									,-0.627633,0.767088,0.351683
									,-0.267156,0.406610,0.351683
									,-0.267156,0.406610,0.751683
									,-0.627633,-0.393390,-0.408794
									,-0.267156,-0.393390,-0.048317
									,-0.267156,0.006610,-0.048317
									,-0.627633,0.006610,-0.408794
									,-0.627633,0.581304,-0.048317
									,-0.627633,0.406610,-0.223010
									,-0.452940,0.406610,-0.048317 };
		float vertices[] = new float[verticesDouble.length];
		int i = 0;
		for(Double verticeDouble: verticesDouble) {
			vertices[i] = verticeDouble.floatValue();
			i++;
		}
		
		short indices[] = {
								 1,4,3,2
								,2,3,6,5
								,5,6,8,7
								,9,5,7
								,11,10,9,7
								,12,11,7
								,10,14,13,9
								,1,14,16,15
								,14,1,13
								,18,15,16,17
								,20,19,15,18
								,22,21,19,20
								,21,24,23,4
								,19,21,4
								,23,24,26,25
								,26,28,27,8
								,25,26,8
								,27,28,30,29
								,28,31,30
								,31,33,32,30
								,33,35,34,32
								,34,37,36,32
								,39,38,37,34
								,40,39,34
								,42,38,39,41
								,42,41,44,43
								,45,42,43
								,44,47,46,43
								,47,50,49,48
								,46,47,48
								,52,51,49,50
								,52,55,54,53
								,51,52,53
								,54,55,57,56
								,55,58,57
								,60,54,56,59
								,61,60,59,17
								,63,60,61,62
								,64,63,62
								,66,64,62,65
								,68,66,65,67
								,69,68,67
								,71,69,67,70
								,73,72,71,70
								,74,73,70
								,72,73,75
								,73,77,76,75
								,76,79,78,75
								,78,45,72,75
								,29,77,73,74
								,67,11,70
								,80,66,68
								,48,81,80,68
								,81,83,82,80
								,82,64,66,80
								,84,58,55,52
								,53,54,60,63
								,85,84,52,50
								,86,85,50,47
								,69,46,48,68
								,86,47,44
								,43,46,69,71
								,41,87,86,44
								,72,45,43,71
								,39,88,87,41
								,40,89,88,39
								,90,89,40
								,35,90,40,34
								,12,27,29,74
								,32,36,77,29
								,30,32,29
								,28,26,91,31
								,26,24,92,91
								,24,21,93,92
								,93,21,22
								,16,61,17
								,61,16,14,62
								,62,14,10,65
								,11,12,74,70
								,65,10,11,67
								,8,27,12,7
								,13,2,5,9
								,1,15,19,4
								,13,1,2
								,6,3,23,25
								,6,25,8
								,23,3,4
								,82,83,53,63
								,64,82,63
								,97,96,95,94
								,96,99,98,95
								,100,99,96
								,98,101,95
								,102,100,96,97
								,103,102,97
								,104,103,97,94
								,56,103,104,59
								,95,101,105,94
								,105,101,20,18
								,105,104,94
								,104,105,18,17
								,59,104,17
								,36,37,79,76
								,77,36,76
								,109,108,107,106
								,111,108,109,110
								,112,108,111
								,109,113,110
								,108,112,114,107
								,107,114,115
								,106,107,115,116
								,115,35,33,116
								,117,113,109,106
								,117,106,116
								,92,113,117,91
								,117,116,33,31
								,91,117,31
								,121,120,119,118
								,119,120,111,110
								,98,99,121,118
								,118,119,93,22
								,119,110,113,92
								,93,119,92
								,98,118,22,20
								,101,98,20
								,49,51,83,81
								,49,81,48
								,83,51,53
								,79,38,42,78
								,42,45,78
								,125,124,123,122
								,123,124,127,126
								,124,128,127
								,129,123,126
								,128,124,125,130
								,130,125,131
								,131,125,122,132
								,122,123,129,133
								,122,133,132
								,87,88,131,132
								,129,84,85,133
								,85,86,87,132
								,133,85,132
								,137,136,135,134
								,127,136,137,126
								,58,137,134,57
								,58,84,129,126
								,137,58,126
								,135,100,102,134
								,134,102,103,56
								,57,134,56
								,37,38,79
								,141,140,139,138
								,138,139,89,90
								,139,140,128,130
								,89,139,130,131
								,88,89,131
								,114,112,141,138
								,138,90,35,115
								,114,138,115
								,144,143,142
								,143,144,140,141
								,136,144,142,135
								,140,144,136,127
								,128,140,127
								,142,143,120,121
								,143,141,112,111
								,120,143,111
								,100,135,142,121
								,99,100,121
							};
		setVertices(vertices);
		setIndices(indices);
		
	}
}
